export default {
    state:{
        show:false,
        percent:10,
    },
    mutations:{
        change(state){ //默认第一个参数是state 这点很重要
            console.log("测试");
            state.show=!state.show;
            state.percent = state.percent +10;
        }
    }
}